﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sherwood.Content.UpdateScheduler
{
    public interface IRecordPullSource
    {
        IEnumerable<string> GetAllRecords(UpdateContext context);
        string GetRecordByReferenceId(UpdateContext context, string referenceId);
        IEnumerable<string> GetRecordsModifiedSince(UpdateContext context, DateTime firstModificationDateUtc);
        IEnumerable<IRecord> GetDeletedRecords(IEnumerable<IRecord> referenceIds);
    }
}
